package com.azf.test.controller;

import com.azf.test.common.Result;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.azf.test.entity.Tag;

import java.util.List;

/*
功能描述:
作者：14136
创造日期：2024/11/16
*/
@RestController

@RequestMapping(value = "tag")
public class TagContrlloer {
    @Resource
    private com.azf.test.service.TagService tagService;


    @GetMapping("list1")
    public Result<List<Tag>> List() {
        List<Tag> list=tagService.list();
        return new Result<>().Success(list);
    }

}
